import 'package:flutter/material.dart';
import 'package:vant/src/sections/basic/button_section.dart';
import 'package:vant/src/sections/basic/cell_section.dart';
import 'package:vant/src/sections/basic/icon_section.dart';
import 'package:vant/src/sections/basic/layout_section.dart';
import 'package:vant/src/sections/display/tag_section.dart';
import 'package:vant/src/sections/form/checkbox_section.dart';
import 'package:vant/src/sections/form/field_section.dart';
import 'package:vant/src/sections/form/form_section.dart';
import 'package:vant/src/sections/form/radio_section.dart';
import 'package:vant/src/sections/home_section.dart';
import 'package:vant/src/sections/basic/image_section.dart';
import 'package:vant/src/sections/basic/popup_section.dart';
import 'package:vant/src/sections/basic/space_section.dart';
import 'package:vant/src/sections/basic/style_section.dart';
import 'package:vant/src/sections/basic/toast_section.dart';

final Map<String, WidgetBuilder> routes = {
  "/": (context) => const VanDocDemoHomeSection(),
  "/Button": (context) => const VanDocDemoButtonSection(),
  "/Cell": (context) => const VanDocDemoCellSection(),
  // "/Icon": (context) => const VanDocDemoIconSection(),
  "/Image": (context) => const VanDocDemoImageSection(),
  "/Layout": (context) => const VanDocDemoLayoutSection(),
  "/Popup": (context) => const VanDocDemoPopupSection(),
  "/Space": (context) => const VanDocDemoSpaceSection(),
  // "/Style": (context) => const VanDocDemoStyleSection(),
  // "/Toast": (context) => const VanDocDemoToastSection(),

  // form
  "/Checkbox": (context) => const VanDocDemoCheckboxSection(),
  "/Field": (context) => const VanDocDemoFieldSection(),
  "/Form": (context) => const VanDocDemoFormSection(),
  "/Radio": (context) => const VanDocDemoRadioSection(),

  // display
  "/Tag": (context) => const VanDocDemoTagSection(),
};
